package com.rc.pojo.dto.identify;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

@Data
public class IdentifyAddDTO {
    @ApiModelProperty(value = "识别后图片", required = true)
    @NotNull
    private MultipartFile illImg;

    @ApiModelProperty(value = "识别前图片", required = true)
    @NotNull
    private MultipartFile originalImg;

    @ApiModelProperty("识别病症")
    private String illName;

    @ApiModelProperty(value = "作物id", required = true)
    @NotNull
    private Long plantItemId;

    @ApiModelProperty("成熟个数")
    private Integer ripeNum;

    @ApiModelProperty("总数量")
    private Integer totalNum;
}
